var _ = require('lodash');
// 深拷贝 浅拷贝
// var obj1 = {name:'zhangsan'}
// var obj2 = _.cloneDeep(obj1)
// obj2.name = 'lisi'
// console.log(obj1, obj2);

// chunk 根据size划分一个数组
// console.log(_.chunk([1,2,3,4,5,6,7,8], 4));

// drop
console.log(_.drop([1, 2, 3, 4, 5, 6, 7, 8], 3));

// uniq
console.log(_.uniq([1,2,2,3,3,4,4,4,6,]));